package com.ajx.core.net.rest;

/**
 * Created by lai on 2017/12/4.
 */

public class HttpResponse {
    private String result;
    private String message;
    private Object data;

    public boolean isSuccess(){
        return "1".equals(result);
    }

    public String getResult() {
        return result;
    }

    public void setResult(String result) {
        this.result = result;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }
}
